﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UIObjects
{
    public class LogEventArgs : EventArgs
    {
        LogEntryData logEntryData;

        /// <summary>
        /// Gets the log entry data.
        /// </summary>
        /// <value>The log entry data.</value>
        public LogEntryData LogEntryData
        {
            get
            {
                return logEntryData;
            }
            internal set
            {
                logEntryData = value;
            }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="LogEventArgs"/> class.
        /// </summary>
        public LogEventArgs()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="LogEventArgs"/> class.
        /// </summary>
        /// <param name="logEntryData">The log entry data.</param>
        public LogEventArgs(LogEntryData logEntryData)
        {
            this.logEntryData = logEntryData;
        }
    }
}
